/*
 * Created by LiuYou on 2020/12/14.
 *
 */

#include "../NvidiaGraphicsCard.hpp"
#include <utility>
#include <iostream>

GraphicsCard::NvidiaGraphicsCard::NvidiaGraphicsCard(int id, int lifetime, std::string info) : id(id), lifetime(
        lifetime), info(std::move(info)) {}

GraphicsCard::NvidiaGraphicsCard::~NvidiaGraphicsCard() = default;

int GraphicsCard::NvidiaGraphicsCard::getId() const {
    return id;
}

int GraphicsCard::NvidiaGraphicsCard::getLifetime() const {
    return lifetime;
}

const std::string& GraphicsCard::NvidiaGraphicsCard::getInfo() const {
    return info;
}

void GraphicsCard::NvidiaGraphicsCard::show() {
    std::cout << "有意思vs" << std::endl;

}
